package com.jinmdz.fmis.api.api.model.user;

import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 登录验证数据
 *
 * @author LiCongLu
 * @date 2019-12-26 13:39
 */
@ApiModel(value = "用户登录请求参数",description = "用户登录请求参数")
public class LoginData extends BaseBean {

    /**
     * 登录帐号，即用户名
     */
    @ApiModelProperty(value = "用户登录账号", name = "username;", example = "admin", position = 1)
    private String username;

    /**
     * 登录密码
     */
    @ApiModelProperty(value = "用户登录密码", name = "password", example = "0000", position = 2)
    private String password;

    public String getUsername() {
        return username;
    }

    public LoginData setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public LoginData setPassword(String password) {
        this.password = password;
        return this;
    }
}
